MoveDamageClass

@Serializable
data class MoveDamageClass(val id: Int, val name: String, val descriptions: List<Description>, val moves: List<Handle.Named<Move>>, val names: List<Name>) : NamedModel(source)

Damage classes moves can have, e.g. physical, special, or non-damaging. See: https://pokeapi.co/docs/v2#move-damage-classes

Parameters

id

The identifier for this resource.

name

The name for this resource.

descriptions

The description of this resource listed in different languages.

moves

A list of moves that fall into this damage class.

names

The name of this resource listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, descriptions: List<Description>, moves: List<Handle.Named<Move>>, names: List<Name>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard